﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/include/context.jsp" %>
<script type="text/javascript">
//function update(){
//			$('form').action = "${ctx}/delivery/list/save";
//			$('currPageId').value = document.getElementsByName('page.currentPage')[0].value;
//			$('form').submit();
//		}



</script>
<form action="" method="post" id='updateForm'  style="margin: 0px;" onsubmit="return updateStatus();">
			
	<input type="hidden" name="deliveryOrder.id" value="${deliveryOrder.id }">
	<input  type = "hidden" id = "currPageId" name = "currPageId" />
	<table cellspacing="0" cellpadding="0" class="form-grid">
			<tbody>
				<tr>
					<td>PO单号：</td>
					<td>${deliveryOrder.purchaseOrder.orderNumber}</td>
					<td>DO单号：</td>
					<td>${deliveryOrder.number}</td>
				</tr>
				<tr>
					<td>储运商：</td>
					<td colspan="3">${deliveryOrder.warehouse.name}</td>
				</tr>
				<tr>
					<td>ASC代码：</td>
					<td>${deliveryOrder.maintenanceStation.number}</td>
					<td>ASC简称：</td>
					<td>${deliveryOrder.maintenanceStation.name}</td>
					
				</tr>
				<tr>
					<td>区域：</td>
					<td>${deliveryOrder.maintenanceStation.region.name }</td>
					<td>订单日期：</td>
					<td>${deliveryOrder.deliveryDate}</td>
				</tr>
				
				<tr>	
					<td>状态：</td>
					<td colspan="3">
						<select name="deliveryOrder.deliveryStatus">
							<option value="${deliveryOrder.nextDeliveryStatus}">${deliveryOrder.nextDeliveryStatus.aliseName}</option>
						</select>
					</td>
				</tr>
			</tbody>
		</table>
			
	<div class="window_footer"><input type="submit" value="确定"></div>
</form>

<%@ include file="/include/script.jsp" %>